<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订单管理</title>
<link type="text/css" rel="stylesheet" href="../css/util.css"/>
<link type="text/css" rel="stylesheet" href="../css/orderManager.css">
<link type="text/css" rel="stylesheet" href="../css/jquery-ui-1.8.21.custom.css" />
</head>
<body>
<div>
<ul id="navigate-bar">
	<li><a href="../index.html">主页</a></li>
	<li><a href="../menu/Show.action">点菜</a></li>
</ul>
</div>
<div style="clear:both;"></div>

<div id="div-orders-panel">
  <div id="div-panel-head">
    <span class="label span_order_id">订单号</span><span class="label span_table_id">桌号</span><span class="label span_person_num">
    人数</span><span class="label span_order_status">订单状态</span><span class="label span_order_date">
    下单时间</span><span class="label span_total_amount">总价</span><span class="label span_real_amount">
    实际收款</span><span class="label span_manage">操作</span>
  </div>
  <div id="div-order-items">
  </div>
</div>
<div id="manager-dialog" title="订单管理">
	<p class="validateTips">All form fields are required.</p>
	<form>
		<fieldset>
			<label for="name">Name</label>
			<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
			<label for="email">Email</label>
			<input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
			<label for="password">Password</label>
			<input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />
		</fieldset>
	</form>
</div>
<script type="text/javascript" src="../js/util/jquery-1.7.2.js"></script>
<script type="text/javascript" src="../js/util/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="../js/orderManager.js"></script>
<script type="text/javascript">
	//initiate page
	$(function(){
		var orderManager = new OrderManager();
		orderManager.loadOrders(new PageInfo(1, 30));
	});
</script>
</body>
</html>